/**
 * 
 */
package in.electromedicalabs.moviesorter;

/**
 * @author @nkit Prasad & Bhavin Mehta
 * 
 */
public enum MovieFields {
	/**
	 * Info file fields
	 */
	TITLE(0, "Title", true), YEAR(1, "Year", true), RATED(2, "Rated", true), RELEASED(
			3, "Released", true), RUNTIME(4, "Runtime", true), GENRE(5,
			"Genre", true), DIRECTORS(6, "Director", true), WRITER(7, "Writer",
			true), ACTORS(8, "Actors", true), PLOT(9, "Plot", true), POSTER(10,
			"Poster", true), RATING(11, "imdbRating", true), VOTES(12,
			"imdbVotes", true), ID(13, "imdbID", true);

	/**
	 * Position of the field in the fieldValues array
	 */
	public int position;
	/**
	 * Name with which the field is in the json response
	 */
	public String name;
	/**
	 * Whether present in the json response
	 */
	public boolean present;

	private MovieFields(int position, String name, boolean present) {
		this.position = position;
		this.name = name;
		this.present = present;
	}

}
